package com.lxit.video.bean;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/** 视频信息 */
@Entity
@Table(name = "video_info")
public class VideoInfo {

	@Id
	@Column(name = "video_id")
	/** 视频id */
	private Integer videoId;

	@Column(name = "video_name")
	/** 视频名 */
	private String videoName;

	@Column(name = "v_type_id")
	/** 视频类型id */
	private Integer vTypeId;

	@Column(name = "video_cover")
	/** 视频封面路径 */
	private String videoCover;

	@Column(name = "video_url")
	/** 视频所在路径 */
	private String videoUrl;

	@Column(name = "love_number")
	/** 喜欢次数 */
	private Integer loveNumber;

	@Column(name = "comment_number")
	/** 评论次数 */
	private Integer commentNumber;

	@Column(name = "forward_number")
	/** 转发次数 */
	private Integer forwardNumber;

	@Column(name = "video_details")
	/** 视频描述 */
	private String videoDetails;

	@Column(name = "video_status")
	/** 视频状态：0：正常 1：失效 */
	private Integer videoStatus;

	@Column(name = "create_time")
	/** 创建时间 */
	private Date createTime;

	public Integer getVideoId() {
		return videoId;
	}

	public void setVideoId(Integer videoId) {
		this.videoId = videoId;
	}

	public String getVideoName() {
		return videoName;
	}

	public void setVideoName(String videoName) {
		this.videoName = videoName;
	}

	public Integer getvTypeId() {
		return vTypeId;
	}

	public void setvTypeId(Integer vTypeId) {
		this.vTypeId = vTypeId;
	}

	public String getVideoCover() {
		return videoCover;
	}

	public void setVideoCover(String videoCover) {
		this.videoCover = videoCover;
	}

	public String getVideoUrl() {
		return videoUrl;
	}

	public void setVideoUrl(String videoUrl) {
		this.videoUrl = videoUrl;
	}

	public Integer getLoveNumber() {
		return loveNumber;
	}

	public void setLoveNumber(Integer loveNumber) {
		this.loveNumber = loveNumber;
	}

	public Integer getCommentNumber() {
		return commentNumber;
	}

	public void setCommentNumber(Integer commentNumber) {
		this.commentNumber = commentNumber;
	}

	public Integer getForwardNumber() {
		return forwardNumber;
	}

	public void setForwardNumber(Integer forwardNumber) {
		this.forwardNumber = forwardNumber;
	}

	public String getVideoDetails() {
		return videoDetails;
	}

	public void setVideoDetails(String videoDetails) {
		this.videoDetails = videoDetails;
	}

	public Integer getVideoStatus() {
		return videoStatus;
	}

	public void setVideoStatus(Integer videoStatus) {
		this.videoStatus = videoStatus;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "VideoInfo [videoId=" + videoId + ", videoName=" + videoName + ", vTypeId=" + vTypeId + ", videoCover=" + videoCover + ", videoUrl=" + videoUrl + ", loveNumber=" + loveNumber
				+ ", commentNumber=" + commentNumber + ", forwardNumber=" + forwardNumber + ", videoDetails=" + videoDetails + ", videoStatus=" + videoStatus + ", createTime=" + createTime + "]";
	}
	
}
